package dbmanagement;

/**
 * Created by IntelliJ IDEA.
 * User: [J0k3r]
 * Date: 27.11.2008
 * Time: 1:39:08
 */
public class FetchedHierarchyParam {
    private Integer id; // db_hierarchy -> id
    private Integer propertyId; // db_object_param_hierarchy_property -> id
    private Integer hierarchyId;
    private FetchedObject object;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHierarchyId() {
        return hierarchyId;
    }

    public void setHierarchyId(Integer hierarchyId) {
        this.hierarchyId = hierarchyId;
    }

    public FetchedObject getObject() {
        return object;
    }

    public void setObject(FetchedObject object) {
        this.object = object;
    }

    public Integer getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(Integer propertyId) {
        this.propertyId = propertyId;
    }

    public String toString() {
        return "[" + (object != null ? object.toString() : "-") + "]";
    }
}
